package com.qingke.pojo;

import java.util.List;

public class Record {
    private Integer id;

    private String title;

    private String content;

    private String creatTime;
    
    private Memorandum memorandum;
    
    private List<CustomTag> customTags;
    

    public Record(String title, String content, String creatTime) {
		super();
		this.title = title;
		this.content = content;
		this.creatTime = creatTime;
	}
    

	public Record() {
		super();
	}


	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

	public Memorandum getMemorandum() {
		return memorandum;
	}

	public void setMemorandum(Memorandum memorandum) {
		this.memorandum = memorandum;
	}


	public List<CustomTag> getCustomTags() {
		return customTags;
	}


	public void setCustomTags(List<CustomTag> customTags) {
		this.customTags = customTags;
	}


	@Override
	public String toString() {
		return "Record [id=" + id + ", title=" + title + ", content=" + content + ", creatTime=" + creatTime
				+ ", customTags=" + customTags + "]";
	}


}